Carbon


KCMakeKCRefFromAlias

Header: Keychain.h Carbon status: Under Evaluation

Creates a keychain reference from a keychain alias.

OSStatus KCMakeKCRefFromAlias (
    AliasHandle keychainAlias, 
    KCRef *keychain
);
Parameter descriptions
keychainAlias

A handle to an alias record of the keychain file. Since the keychain is a file, an alias can be made to the keychain file.

keychain

On return, a pointer to a reference to the keychain specified by the alias in the keychainAlias parameter.

function result

A result code.

SPECIAL CONSIDERATIONS

When you are finished with a keychain, you should call the function KCReleaseKeychain to deallocate its memory. You should not use the keychain after its memory has been deallocated.

VERSION NOTES

Available beginning with Keychain Manager 2.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)